package com.thb.pay.mq.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * @Author: lucky
 * @Descrpiton:
 * @Date: 17:58 2018/8/31
 * @Modify by:
 */

public class BaseMessageEntity implements Serializable {

    private Long tenantId;
    //request header
    private Map<String, String> headers;

    private String message;

    private Date createTime = new Date();

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
